package com.ztk.threadbasic.fucai.listener;

import com.alibaba.excel.context.AnalysisContext;
import com.alibaba.excel.read.listener.ReadListener;
import com.ztk.threadbasic.excel.CompanyVO;
import com.ztk.threadbasic.fucai.pojo.FuCaiVO;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class FuCaiListencer implements ReadListener<FuCaiVO> {
    private List<FuCaiVO> list = new ArrayList<>();
    @Override
    public void invoke(FuCaiVO vo, AnalysisContext analysisContext) {
        list.add(vo);
    }

    @Override
    public void doAfterAllAnalysed(AnalysisContext analysisContext) {

    }
}
